import dialogDrag from './drag'
import dragHeight from './dragHeight'
import dragWidth from './dragWidth'

const install = function(Vue) {
  Vue.directive('dialogDrag', dialogDrag)
  Vue.directive('dragHeight', dragHeight)
  Vue.directive('dragWidth', dragWidth)
}

if (window.Vue) {
  Vue.use(install); // eslint-disable-line
}

export default install
